package cn.hyh.core.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * @auther :hyh
 * @desc :
 * @date :2019/7/14
 */
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@TableName(value = "tb_userinfo")
public class UserInfo implements Serializable {

    @TableId(type = IdType.UUID)
    private String id;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    private String dream;
    private String name;
    private String netName;
    private int  gender;
    private int  age;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    private String orgin;
    private String nowPosition;
    private String  email;
    private String qq;
    private String wechat;

}
